package chixing.day11.class1;

public class Outer {
    private String name;
    static{
        System.out.println("static 外部类");
    }
    public static class Inner{
        static int age;
        static{
            System.out.println("static 内部类");
        }//类加载加载的是内部类文件  不加载外部类文件
        public void fun1(){
         Outer outer = new Outer();
         outer.name = "张三";
          age = 10;
        }
    }



}
